package com.most.goods;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;


@SpringBootApplication
@EnableFeignClients(basePackages = {"com.most.api"})
@EntityScan(basePackages = {"com.most.**.dto"})
@MapperScan("com.most.**.mapper")
@ComponentScans(value = {@ComponentScan("com.most")})
public class MostGoodsApplication {
    public static void main(String[] args) {
        SpringApplication.run(MostGoodsApplication.class, args);
    }
}
